package com.nanfang51g3.ckz.ui.money.add.pay;

import com.nanfang51g3.ckz.utils.KLog;

import dagger.Module;
import dagger.Provides;

/**
 * dagger2 模块 通过注入View 给P层 IndexPresenter ,@Inject 标记 {@link AddALiPayPresenter }构造函数
 * {@link AddALiPayPresenter }
 */
@Module
public class AddALiPayPresenterModule {

    private final AddALiPayContract.View view;

    public AddALiPayPresenterModule(AddALiPayContract.View view) {
        KLog.i("TAG",view==null?"进入了...PreviewMoneyInfoContract-is null":"进入了...PreviewMoneyInfoContract-not null");
        this.view = view;
    }

    @Provides
    AddALiPayContract.View provideAddALiPayContractView() {
        return view;
    }

}
